package submarine;

import javax.swing.ImageIcon;

/**
 * 鱼雷潜艇
 */
public class TorpedoSubmarine extends SeaObject implements EnemyScore {

    public TorpedoSubmarine(){
        super(64, 20);
    }

    public void move(){
        x += speed;
    }

    public ImageIcon getImage() {
        return Images.torpesubm;
    }

    public int getScore() {
        return 20;
    }

}
